package com.liy.jiagou.config;

import org.springframework.context.annotation.Configuration;

// security.oauth2
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
import org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter;


/**
 * 资源服务器配置
 */
@Configuration
@EnableResourceServer  // 声明开启 OAuth 资源服务器的功能。
public class OAuth2ResourceServerConfig extends ResourceServerConfigurerAdapter {
}
